package liuyuyang.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sys_role")
public class Role {
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;
  @TableField("roleName")
  private String roleName;
  @TableField("roleDesc")
  private String roleDesc;
}
/*
# 角色表
CREATE TABLE `sys_role`  (
  `id` INT(10) NOT NULL AUTO_INCREMENT,
  `roleName` VARCHAR(50),
  `roleDesc` VARCHAR(50),
  PRIMARY KEY (`id`) USING BTREE
) ;

 */
